
angular.module('licenceApp').config(['$routeProvider',
    function($routeProvider) {
        $routeProvider.when('/Application', {
            templateUrl: 'application.html',
            controller: 'ApplicationController'
        }).when('/Home', {
            templateUrl: 'pages/index.html',
            controller: 'ApplicationController'
        }).when('/Users', {
            templateUrl: 'pages/users.html',
            controller: 'ApplicationController'
        }).otherwise({
            redirectTo: '/Home'
        });
    }]);